package com.jdym.back.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableLogic;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 合作银行表
 * </p>
 *
 * @author ${author}
 * @since 2021-09-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="CoBank对象", description="合作银行表")
public class CoBank implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "银行id")
      @TableId(value = "cobank_id", type = IdType.AUTO)
    private Integer cobankId;

    @ApiModelProperty(value = "银行名")
    private String cobankName;

    @ApiModelProperty(value = "银行编号")
    private String cobankNo;

    @ApiModelProperty(value = "银行联系方式")
    private String cobankTel;

    @ApiModelProperty(value = "利率")
    private BigDecimal cobankRate;

    @ApiModelProperty(value = "银行邮箱")
    private String cobankEmail;

    @ApiModelProperty(value = "银行地址")
    private String cobankAdderss;

    @ApiModelProperty(value = "删除状态")
    @TableField(value = "delStatus")
    @TableLogic(value="0",delval="1")
    private int delStatus;

    @TableField(value = "cobank_img")
    private String cobankImg;


}
